<script language="javascript"> 
$('#background-color').ColorPicker({
	onSubmit: function(hsb, hex, rgb) {	    
	    var color = '#' + hex;
		$('#background-color').val(color);		
	    $('#background-color').css("background-color", color);
		$('#content').css("background-color",  color);
	}
});


</script>

<label for="background-color">background-color:
<input type="text" maxlength="6" size="6" id="background-color" name="background-color"  value="#851339" />

</label>


